class Node {
  constructor() {
    this.start = 0; // 字符串开始位置
    this.end = 0; // 字符串的结束位置
    this.type = "";
    this.name = "";
    this.selfClosing = false; // 是否是自闭合标签
    this.data = "";
    this.attrs = {};
    this.children = []
  }
}

module.exports = Node;